* {
    margin: 0;
    padding: 0;
}
body {
    overflow: hidden;
    position: relative;
}
html,
body {
    height: 100%;
    background: #fff;
}
#content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    flex-wrap:nowrap;
    overflow: hidden;
}
#div3d {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #c0c0c0;
    z-index: 1;
    flex: auto;
}
#div3d .div3d-error {
    font-size: 35px;
    color: #660000;
    position: absolute;
    top: 42%;
    left: 0;
    right: 0;
    z-index: 0;
    text-align: center;
    display: none;
}
#div2d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
}
#div2d > div{
    z-index: 2;
}
#div2d > div .ThingJS_nav-vertical{
    overflow: auto;
    max-height: 100%;
}
#div2d > div .ThingJS_nav-vertical::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
#div2d > div .ThingJS_nav-vertical::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.35);
    background: #c3c3c3;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
#content .ThingJS-Banner-top {
    width: 100%;
    height: 50px;
    z-index: 10002;
}
#content .ThingJS-Banner-left {
    width: 60px;
    z-index: 10001;
}
#content.ThingJS-top .ThingJS-Banner-left {
    height: calc(100% - 50px);
}
#content.ThingJS-top #div3d {
    width: 100%;
    height: calc(100% - 50px);
}
#content.ThingJS-top #div2d {
    top: 50px;
    height: calc(100% - 50px);
}
#content.ThingJS-left #div2d {
    left: 60px;
    width: calc(100% - 60px);
}
#content.ThingJS-left #div3d {
    width: calc(100% - 60px);
}
#content.ThingJS-top .ThingJS_Banner-top{
    flex-shrink: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    display: flex;
}
#content.ThingJS-top .ThingJS_Banner-top.ThingJS_nav-vertical .menu1{
    min-width: 150px;
    overflow: visible;
}
#content.ThingJS-top .ThingJS_nav-vertical .menu1 .menu1:last-child{
    overflow: hidden;
}